From 545c5f18b27bea1fd5ed5a4536a6c261f5fc1748 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 17 Sep 2018 04:29:40 +0200 Subject: [PATCH] testsuite: Disable some tests for older glib --- testsuite/gtk/sortlistmodel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/gtk/sortlistmodel.c b/testsuite/gtk/sortlistmodel.c index d2cb9fe7c3..31a6711f04 100644 --- a/testsuite/gtk/sortlistmodel.c +++ b/testsuite/gtk/sortlistmodel.c @@ -394,8 +394,10 @@ main (int argc, char *argv[]) g_test_add_func ("/sortlistmodel/create", test_create); g_test_add_func ("/sortlistmodel/set-model", test_set_model); g_test_add_func ("/sortlistmodel/set-sort-func", test_set_sort_func); +#if GLIB_CHECK_VERSION (2, 58, 0) /* g_list_store_splice() is broken before 2.58 */ g_test_add_func ("/sortlistmodel/add_items", test_add_items); g_test_add_func ("/sortlistmodel/remove_items", test_remove_items); +#endif return g_test_run (); } -- 2.30.2